{% extends "SLBackBundle::layout.html.twig" %}

{% block body %}

	<br />
	{% if error %}
		<div class="alert alert-error">{{ error.message }}</div>
	{% endif %}
	<br /><br />
	<form action="{{ path('sl_back_login_check') }}" method="post">
		<label for="username">Login :</label>
		<input type="text" id="username" name="_username" value="{{ last_username }}" />
		
		<label for="password">Mot de passe :</label>
		<input type="password" id="password" name="_password" />
		<br />
		<input type="submit" value="Connexion" />
	</form>

{% endblock %}